projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c37fe9
)
GtkGesture: minor cleanup
author
Carlos Garnacho
<carlosg@gnome.org>
Fri, 24 Jul 2015 09:47:27 +0000
(11:47 +0200)
committer
Carlos Garnacho
<carlosg@gnome.org>
Fri, 24 Jul 2015 11:44:22 +0000
(13:44 +0200)
We're not really using the coordinates in that function, we just
double check it's not an unrelated event.
gtk/gtkgesture.c
patch
|
blob
|
history
diff --git
a/gtk/gtkgesture.c
b/gtk/gtkgesture.c
index 826b741ab1444d77b8c7588c902921188de2c0d0..15111c5522d8b290d69ca5fb7d405e2809dc028e 100644
(file)
--- a/
gtk/gtkgesture.c
+++ b/
gtk/gtkgesture.c
@@
-417,9
+417,8
@@
_gtk_gesture_update_point (GtkGesture *gesture,
GdkDevice *device;
gboolean existed;
PointData *data;
- gdouble x, y;
- if (!gdk_event_get_coords (event,
&x, &y
))
+ if (!gdk_event_get_coords (event,
NULL, NULL
))
return FALSE;
device = gdk_event_get_device (event);